public class Student2 extends Person2{
    public Student2(String name) {
        super(name);
    }

    public void run(Person2 person2){
        System.out.println(person2.getName()+"正在吃");
    }

    public void eat(Person2 person2){
        System.out.println(((Student2)person2).getName()+"正在吃");
    }
}
